<template>
  <div>
    <h1>this is detail</h1>
    <!-- <h1>{{ this.$route }}</h1> -->
  </div>
</template>

<script>
export default {
  mounted() {
    console.log(this.$route.params.id); // 动态路由参数
  },
};
</script>
